package com.neuedu.His02.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;;

// 表名：患者评估/诊断表
public class MedicalDisease {
    private Integer ID;// ID 自增长类型
    private Integer MedicalID;// 病历 ID 指向 MedicalRecord(ID)
    private Integer RegistID;// 挂号 ID 指向 Register(ID)
    private Integer DiseaseID;// 疾病 ID 指向 Disease(ID)
    private Integer DiagnoseType;// 诊断类型 1-西医 2-中医

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date GetSiskDate;// 发病日期
    private Integer DiagnoseCate;// 诊断种类 1-初诊 2-终诊

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public Integer getMedicalID() {
        return MedicalID;
    }

    public void setMedicalID(Integer medicalID) {
        MedicalID = medicalID;
    }

    public Integer getRegistID() {
        return RegistID;
    }

    public void setRegistID(Integer registID) {
        RegistID = registID;
    }

    public Integer getDiseaseID() {
        return DiseaseID;
    }

    public void setDiseaseID(Integer diseaseID) {
        DiseaseID = diseaseID;
    }

    public Integer getDiagnoseType() {
        return DiagnoseType;
    }

    public void setDiagnoseType(Integer diagnoseType) {
        DiagnoseType = diagnoseType;
    }

    public Date getGetSiskDate() {
        return GetSiskDate;
    }

    public void setGetSiskDate(Date getSiskDate) {
        GetSiskDate = getSiskDate;
    }

    public Integer getDiagnoseCate() {
        return DiagnoseCate;
    }

    public void setDiagnoseCate(Integer diagnoseCate) {
        DiagnoseCate = diagnoseCate;
    }

    @Override
    public String toString() {
        return "MedicalDisease{" +
                "ID=" + ID +
                ", MedicalID=" + MedicalID +
                ", RegistID=" + RegistID +
                ", DiseaseID=" + DiseaseID +
                ", DiagnoseType=" + DiagnoseType +
                ", GetSiskDate=" + GetSiskDate +
                ", DiagnoseCate=" + DiagnoseCate +
                '}';
    }
}
